SPRITE HEIGHT
This command will return an integer value of the height of the specified sprite determined by the height of the current image being used.
Return Integer=SPRITE HEIGHT(Sprite Number)
Sprite Number
Integer
The sprite number
The command will return an integer value of the height of the specified sprite determined by the height of the current image being used
The parameter should be specified using an integer value.
cls
load image "man.bmp",1
sprite 1,100,100,1
wait 1000*8
do
print "THE SPRITE HEIGHT IS "+spr$(sprite height(1))
loop
end
SPRITE Commands Menu
Index